import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 导入全局less变量
// import './less/base.less';
import './less/base.less';

// import "../node_modules/swiper/css/swiper.min.css";

// 导入的字体图库
// import './assets/iconFont/iconfont.css';

// 导入动画库
// import './css/animate.css';

// 插件注册
import plugins from './plugins';
Vue.use(plugins);

//导入全局的组件，方法，属性等
import globalComponents from './globalComponents';
Vue.use(globalComponents);

// 请求方法注册
import api from './api';
Vue.use(api);

// 全局指令
import directive from './directive';
Vue.use(directive);

Vue.config.productionTip = false

// 禁用浏览器滚动条
// document.body.parentNode.style.overflow = "hidden";

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
